package metamodel.transformer;

import metamodel.ClassNode;
import metamodel.CollectionRef;
import metamodel.FlatProperty;
import metamodel.transformer.PropertyValue;

import java.util.List;
import java.util.Collection;

/**
 * User: fleipold
 * Date: 21-Dec-2007
 * Time: 22:44:22
 */
public interface SimpleBottumUpTreeMapper {
    public Object mapObject(ClassNode meta, List<PropertyValue> mappedPropertie);
    public Object mapCollection(CollectionRef meta, Collection mappedElements);
    public Object mapFlatProperty(FlatProperty meta, Object value);
}
